package com.kayt.cyberBar.company.business.server;

import com.kayt.cyberBar.common.PageData;
import com.kayt.cyberBar.common.ServerResponse;
import com.kayt.cyberBar.company.business.entity.po.BCompanyAccount;
import com.kayt.cyberBar.company.business.entity.vo.CompanyAccountListVO;
import com.kayt.cyberBar.company.business.entity.vo.CompanyAccountVO;
import com.kayt.cyberBar.company.business.entity.vo.CompanyQueryVO;

public interface ICompanyAccountServer {

	public int update_account(CompanyAccountVO vo);

	public int add_account_map_list(CompanyAccountListVO vo);

	public Integer delete_account_by_code(String accountCode);

	public BCompanyAccount get_account(CompanyAccountVO vo);

	public BCompanyAccount get_account_by_code(String accountCode);

	public CompanyAccountVO assemble_vo(BCompanyAccount account);

	public ServerResponse<CompanyAccountVO> assemble_result(BCompanyAccount account);

	public ServerResponse<String> assemble_result_string(int base);

	public ServerResponse<PageData<CompanyAccountVO>> assemble_result_list(PageData<BCompanyAccount> pageData);

	public PageData<BCompanyAccount> get_account_list(CompanyQueryVO query);

	public boolean check_validate(CompanyAccountVO vo);

	BCompanyAccount add_account();


}
